package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.dto.MealDishesDto;
import com.itheima.pojo.Employee;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MealDishMapper extends BaseMapper<Employee> {
    int insertMealDish(@Param("mealId") String mealId,@Param("mealDishes") List<MealDishesDto> mealDishes);

    int delById(@Param("ids") String[] ids);

    int delByMealIds(@Param("mealIds")String... mealIds);
}
